<?php
/**
 * Created by PhpStorm.
 * User: sunzexin
 * Date: 2018/1/10
 * Time: 09:57
 */

namespace App\Http\Traits;


use Illuminate\Http\Request;

trait AdminTrait
{
    use BaseTrait;
    // 秘钥验证
    protected $token;
    // 邮箱
    protected $email;
    // 密码
    protected $password;

    public function __construct(Request $request)
    {
        $this->token = $request->input('token', '');
        $this->email = $request->input('email', '');
        $this->password = $request->input('password', '');
    }
}